package com.potenza.track;

import com.ruoyi.common.security.annotation.EnableRyFeignClients;
import com.ruoyi.common.swagger.annotation.EnableCustomSwagger2;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;


@MapperScan(basePackages = {"com.potenza.track.mapper", "com.ruoyi.*"})
@ComponentScan({"com.ruoyi", "com.potenza"})
@EnableRyFeignClients({"com.ruoyi.*", "com.potenza"})
@EnableCustomSwagger2
@SpringBootApplication
@EnableScheduling
public class TrackApplication {
    public static void main(String[] args) {
        SpringApplication.run(TrackApplication.class, args);
    }
}
